package topCoderComponents.newsSubscription.model;

import java.util.ArrayList;
import java.util.List;


public class MemeryStorage implements Storage {
	private List<Subscription> container = new ArrayList<Subscription>();

	public int getRecordCount() {
		return this.container.size();
	}

	public void add(Subscription subscription) {
		
		this.container.add(subscription);
	}

	public void delete(Subscription subscription) {
		this.container.remove(subscription);
		
	}

	public void update(Subscription subscription) {
		// TODO Auto-generated method stub
		
	}

}
